package xyz.whiteblue.core;

/**
 * Created by WhiteBlue on 15/6/14.
 */
public class RenderObject {
    private int type;
    private Object obj;
    private String view;
    private String url;
    private int errorNumber;

    public RenderObject(int type, Object obj) {
        this.type = type;
        this.obj = obj;
    }

    public RenderObject(int type, String view) {
        this.type = type;
        this.view = view;
    }


    public RenderObject(int type) {
        this.type = type;
    }

    public RenderObject(int errorNumber, int type) {
        this.errorNumber = errorNumber;
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getType() {
        return type;
    }

    public Object getObj() {
        return obj;
    }

    public String getView() {
        return view;
    }

    public int getErrorNumber() {
        return errorNumber;
    }
}
